#ifndef INDEXPAGEWINDOW_H
#define INDEXPAGEWINDOW_H

#include <QWidget>
#include <QApplication>
#include <QIcon>
#include <QtDebug>
#include "qobjecttree.h"

#include <QGroupBox>
#include <QPushButton>
#include <QRadioButton>
#include <QCheckBox>
#include <QToolButton>

#include <QLineEdit>
#include <QTextEdit>

#include <QDateTimeEdit>
#include <QDoubleSpinBox>
#include <QSpinBox>
#include <QDial>
#include <QScrollBar>
#include <QSlider>

class IndexPageWindow : public QWidget
{
    Q_OBJECT
public:
    explicit IndexPageWindow(QWidget *parent = nullptr);
    void iniWindow();
private:
    QRadioButton *manButton;
    QRadioButton *womenButton;
    QGroupBox *gender;
    QGroupBox *marryBox;
    QRadioButton *ismarry;
    QRadioButton *nomarry;
    QPushButton *commitButton;

    QLineEdit *passwdButton;
    QTextEdit *txtButton;

    QDateTimeEdit *timeButton;

public slots:
    //自定义槽函数参数必须小于信号的参数
    void displayGender();
    void commitInfo();

};

#endif // INDEXPAGEWINDOW_H
